package com.wj.service;

import com.wj.pojo.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wj.utils.RespUtil;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wj
 * @since 2022-05-16
 */
public interface IAnnouncementService extends IService<Announcement> {


    /**
     * 删除公告
     * @param ids
     * @return
     */
    RespUtil deleteAnnouncement(Integer[] ids);

    /**
     * 查询公告
     * @param searchText
     * @return
     */
    List<Announcement> searchAnnouncement(String searchText);
}
